// PropertyComboWindow.h: interface for the PropertyComboWindow class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PROPERTYCOMBOWINDOW_H__C8D78156_9E35_4AAA_8507_8CEADC99632E__INCLUDED_)
#define AFX_PROPERTYCOMBOWINDOW_H__C8D78156_9E35_4AAA_8507_8CEADC99632E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "PropertySubWindow.h"

class PropertyComboWindow : public PropertySubWindow  
{
	class CComboBoxEX : public CComboBox
	{
		// Construction
	public:
		CComboBoxEX();
		
		// Attributes
	public:
		
		// Operations
	public:
		
		// Overrides
		// ClassWizard generated virtual function overrides
		//{{AFX_VIRTUAL(CComboBoxEX)
		//}}AFX_VIRTUAL
		
		// Implementation
	public:
		virtual ~CComboBoxEX();
		PropertySystem::CustomVariable* m_pVar;
		PropertyComboWindow* m_pWnd;
		
		// Generated message map functions
	protected:
		//{{AFX_MSG(CComboBoxEX)
		afx_msg void OnSelchange();
		//}}AFX_MSG
		
		DECLARE_MESSAGE_MAP()
	};
	
	public:
	PropertyComboWindow();
	virtual ~PropertyComboWindow();

public:
	virtual void UpdatePropertyData(BOOL bState = TRUE);
	virtual BOOL Create(CWnd* pParent, UINT nID);
	virtual void SetFont(CFont* pFont);

private:
	CComboBoxEX m_ComboBox;
};

#endif // !defined(AFX_PROPERTYCOMBOWINDOW_H__C8D78156_9E35_4AAA_8507_8CEADC99632E__INCLUDED_)
